import Vue from 'vue'
import App from './App'

// vuex
import store from './static/js/store.js';
//把vuex定义成全局组件...挂载
Vue.prototype.$store = store;

// VANT 全局组件
import '@/utils/vantRegister';
 
// 卡片窗口
import basics from './components/basics-card-view/basics-card-view.vue'
Vue.component('basics',basics)
// 自定义导航栏
import cuCustom from '@/colorui/components/cu-custom.vue'
Vue.component('cu-custom',cuCustom)


// 阻止产生生产消息
Vue.config.productionTip = false

App.mpType = 'app';

import api from './static/js/api.js';

Vue.use(api); // 全局 $api 声明

const app = new Vue({
    ...App
})
app.$mount()